package myauctioneer.dao;

import java.util.ArrayList;

import myauctioneer.dto.Rating;

public interface RatingDAOI {
	public void saveRating(Rating a);

	public Rating loadRatingByRatingId(int RatingId);

	public ArrayList<Rating> loadRatingsByUserIdAndType(int userId,
			String type);
	
//old	public ArrayList<Rating> loadRatingsByBuyerId(int buyerId);
	public ArrayList<Rating> loadRatingsByBuyerId(int buyerId, String type); //simon, new

	public boolean deleteRatingById(int userId);
}
